package com.ruoyi.bantong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 红包玩法黑名单对象 bt_redbag_blacklist
 * 
 * @author laohei
 * @date 2021-02-06
 */
public class BtRedbagBlacklist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer rbId;

    /** 类型 1日抽奖  2 周抽奖 */
    @Excel(name = "类型 1日抽奖  2 周抽奖")
    private Integer type;

    /** 用户 Id */
    @Excel(name = "用户 Id")
    private Integer userId;

    /** 用户头像 */
    private String avatar;
    /** 用户姓名 */
    private String name;

    public void setRbId(Integer rbId) 
    {
        this.rbId = rbId;
    }

    public Integer getRbId() 
    {
        return rbId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rbId", getRbId())
            .append("type", getType())
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
